//
//  SearchTableViewCell.m
//  Koala_Fm
//
//  Created by dllo on 16/2/29.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "SearchTableViewCell.h"

@implementation SearchTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.lable = [[UILabel alloc]init];
//        self.lable.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:_lable];
        [_lable release];
        //
        self.imag = [[UIImageView alloc]init];
//        self.imag.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:_imag];
        [_imag release];
        
        
        
    }
    return self;
}

- (void)layoutSubviews{
    [super layoutSubviews];
    _imag.frame = CGRectMake(0, 0, 80, 80);
    _lable.frame = CGRectMake(80, 25, self.contentView.frame.size.width, 30);
    
     
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
